package com.itheima.config;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "aliyun.oss")         //属性前缀
public class AliyunOSSProperties {

    private String endpoint;        //区域

    private String bucketName;      //桶名
}
